<template>
  <div class="search">
    <el-form :inline="true" :model="task" class="demo-form-inline">
      <el-form-item label="工单编号:">
        <el-input v-model="task.taskId" placeholder="请输入" />
      </el-form-item>
      <el-form-item label="工单状态">
        <el-select v-model="task.taskStatus" placeholder="请选择">
          <el-option label="待办" value="todo" />
          <el-option label="进行" value="ongoing" />
          <el-option label="取消" value="cancle" />
          <el-option label="完成" value="completed" />
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      task: {
        taskId: '',
        taskStatus: ''
      }
    }
  },
  methods: {
    onSubmit() {}
  }
}
</script>

<style>

</style>
